import request from "@/util/request.js";

export function postQrCode(data) {
    return request({
        url: "/api/MakeQr/postQrCode/",
        method: "post",
        data: data
    });
}


export function getQrCode(pk) {
    return request({
        url: "/api/MakeQr/qrCode/"+ pk + '/',
        method: "get",
    });
}

export function getQrCodeDownload(params) {
    return request({
        url: "/api/MakeQr/qrCodeDownload/?" + params,
        method: "get",
    });
}

